package com.yyds.yygh.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyds.yygh.model.order.OrderInfo;
import com.yyds.yygh.vo.order.OrderCountQueryVo;
import com.yyds.yygh.vo.order.OrderQueryVo;

import java.util.Map;

public interface OrderInfoService extends IService<OrderInfo> {
    //保存订单
    Long saveOrder(String scheduleId, Long patientId);
    //根据订单id查询订单详情
    OrderInfo getOrderInfo(Long id);
    //分页列表
    Page<OrderInfo> selectPage(Page<OrderInfo> pageParam, OrderQueryVo orderQueryVo);
    //订单详情
    Map<String,Object> show(Long orderId);
    //就医提醒
    void patientTips();
    //订单统计
    Map<String,Object> getCountMap(OrderCountQueryVo orderCountQueryVo);

}
